package com.syni.mdd.yhd.common.all.service.impl;

import com.syni.mdd.yhd.common.all.dao.jpa.ReOrderLogDao;
import com.syni.mdd.yhd.common.all.entity.record.ReOrderLog;
import com.syni.mdd.yhd.common.all.service.ReOrderLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @className
 * @description TOO
 * @Author cfx
 * @DATE 2019/4/9 12:04
 * @VERSION 1.0
 **/
@Service
public class ReOrderLogServiceImpl extends BaseService<ReOrderLog, Integer> implements ReOrderLogService {

    @Autowired
    ReOrderLogDao reOrderLogDao;

    @Override
    public ReOrderLogDao getBaseDao() {
        return reOrderLogDao;
    }

    @Override
    public ReOrderLog findByOrderId(Integer orderId) {
        return reOrderLogDao.findByOrderId(orderId);
    }
}
